package com.syni.mdd.sjb.common.datatreaure.entity.vo.rp.dataBankBusiness;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class DataBankAnalysisFlowRpVo {
    //页面进入页次
    private PageVisitors pageVisitors = new PageVisitors();

    @Data
    public static class PageVisitors {
        private List<LineData> yesPageVisitors = new ArrayList<>();
        private List<LineData> sevenPageVisitors = new ArrayList<>();
        private List<LineData> thirtyPageVisitors = new ArrayList<>();
        private List<LineData> halfYearPageVisitors = new ArrayList<>();
        private String pageVisitorsBusinessAdvice = "无建议";
    }

    //转化率
    private ConversionRate conversionRate = new ConversionRate();

    @Data
    public static class ConversionRate {
        private ConversionRateData yesConversionRate = new ConversionRateData();
        private ConversionRateData sevenConversionRate = new ConversionRateData();
        private ConversionRateData thirtyConversionRate = new ConversionRateData();
        private ConversionRateData halfYearConversionRate = new ConversionRateData();
        private String conversionRateBusinessAdvice = "无建议";
    }

    @Data
    public static class ConversionRateData{
        private String accessConversionRate = "0.00%";
        private String orderConversionRate = "0.00%";
        private String turnoverConversionRate = "0.00%";
    }

    //客流来源
    private SourcePassengerFlow sourcePassengerFlow = new SourcePassengerFlow();

    @Data
    public static class SourcePassengerFlow {
        private List<PieData> yesSourcePassengerFlow = new ArrayList<>();
        private List<PieData> sevenSourcePassengerFlow = new ArrayList<>();
        private List<PieData> thirtySourcePassengerFlow = new ArrayList<>();
        private List<PieData> halfYearSourcePassengerFlow = new ArrayList<>();
        private String sourcePassengerFlowBusinessAdvice = "无建议";
    }



}
